const init = [
  {
    id: 0,
    topics: [
        {id: 0}
    ]
  }
]

export default (state = init, action) => {
  switch (action.type) {
    case 'REFRESH_PROGRAMS_AND_SUB_TOPICS':
      return action.programsAndSubTopics
    default:
      return state
  }
}
